import javax.swing.JFrame;

import net.miginfocom.swing.MigLayout;


public class GraphicalUserInterface extends JFrame{
	
	private static final long serialVersionUID = 1L;

	/**
	 * Konstruktor
	 */
	public GraphicalUserInterface() {
		super("Zaverecny projekt - GOMOKU");
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setSize(600,400);
		this.setLayout(new MigLayout("fill"));
		
		BoardPanel boardP 		= new BoardPanel();
		NotationPanel notationP = NotationPanel.getInstance();
		 		
		this.add(boardP, "cell 0 0, w 70%, grow");
		this.add(notationP, "cell 1 0, w 30%, grow");
	}

}
